﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="WellDone.EditMenuCategoryDialog"
           Width="391" Height="250" 
           Title="Edit Menu Category">
    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Menu Group" Height="19" Margin="8,10,0,0" VerticalAlignment="Top" Width="95" Grid.Row="0"/>
        <ComboBox x:Name="cmbMenuGroup" Grid.Row="0" HorizontalAlignment="Left" Margin="109,10,0,0" VerticalAlignment="Top" Width="250" Height="27"/>
        <sdk:Label HorizontalAlignment="Left" Content="Menu Category" Height="19" Margin="8,11,0,0" VerticalAlignment="Top" Width="95" Grid.Row="1"/>
        <TextBox HorizontalAlignment="Left" Margin="109,6,0,0" Name="tbMenuCategoryName" VerticalAlignment="Top" Width="250" MaxLength="50" KeyDown="tbMenuCategoryName_KeyDown" Grid.Row="1"/>
        <sdk:Label HorizontalAlignment="Left" Content="Print Route" Height="19" Margin="8,10,0,0" VerticalAlignment="Top" Width="95" Grid.Row="2"/>
        <TextBox HorizontalAlignment="Left" Margin="109,6,0,0" Name="tbCategoryPrintroute" VerticalAlignment="Top" Width="50" MaxLength="3" Grid.Row="2" KeyDown="tbCategoryPrintroute_KeyDown"/>
        <CheckBox x:Name="cbMenuCategoryVisible" Grid.Row="3" Content="Visible" HorizontalAlignment="Left" Margin="109,10,0,0" VerticalAlignment="Top" Padding="3,-3,0,0" Height="16" Width="100"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="4" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="4" />
    </Grid>
</controls:ChildWindow>